package com.nifostasky.comic.entitys;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

@ApiModel(value="所属区域与单位部门关联表")
@Data
@TableName(value = "sys_org_unit_rel")
public class SysOrgUnitRel extends SysBaseEntity implements Serializable {

    /**
     * 所属区域id
     */
    @TableField(value = "org_id")
    @ApiModelProperty(value="所属区域id")
    private Long orgId;

    /**
     * 单位id
     */
    @TableField(value = "unit_id")
    @ApiModelProperty(value="单位id")
    private Long unitId;

}